/**
 *********************************************
 * Prototype of styles for horizontal CSS-menu
 * @data 30.06.2009
 *********************************************
 * (X)HTML-scheme:
 *  <div id="menu">
 *      <ul class="menu">
 *          <li><a href="#" class="parent"><span>level 1</span></a>
 *              <div><ul>
 *                  <li><a href="#" class="parent"><span>level 2</span></a>
 *                      <div><ul><li><a href="#"><span>level 3</span></a></li></ul></div>
 *                  </li>
 *              </ul></div>
 *          </li>
 *          <li class="last"><a href="#"><span>level 1</span></a></li>
 *      </ul>
 *  </div>
 *********************************************
 */

/* menu::base */
div#apycommenu {
     height:50px; /* need to change for small height */
     background:url(../theme/images/nav-bg.png) repeat-x;
    _background:url(../theme/images/nav-bg.gif) repeat-x;
}

div#apycommenu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    float: left;
}
div#apycommenu ul.apycommenu {
    padding-left: 30px;
}

div#apycommenu li {
    position: relative;
    z-index: 9;
    margin: 0;
    padding: 0;
    display: block;
    float: left;
}
   
div#apycommenu li:hover>ul {
    left: -2px;
}

div#apycommenu li div {
    list-style: none;
    float: left;
    position: absolute;
    top: 50px; /* need to change for small height */
    left: 0;
    width: 208px;
    z-index: 11;
    visibility: hidden;
    padding: 0 0 9px 7px;
    _padding: 0 0 9px 3px;
    background: url(images/submenu-bottom.png) no-repeat 7px bottom;
    _background-image: url(../theme/images/submenu-bottom.gif);
    margin: 0 0 0 -9px;
}
div#apycommenu li:hover>div {
    visibility: visible;    
}

div#apycommenu li.current a {}

/* apycommenu::level1 */
div#apycommenu a {
    position: relative;
    z-index: 10;
    height: 55px;  /* need to change for small height */
    display: block;
    float: left;	
    padding: 0 10px 0 10px;
    line-height: 55px;  /* need to change for small height */
    text-decoration: none;
}
div#apycommenu span {
    font: normal 12px 'Lucida Sans Unicode','Lucida Grande',Helvetica,Arial,sans-serif;
    padding-top: 18px;
    color: #787878;
    font-weight:bold;
    text-transform:uppercase;
    display: block;
    cursor: pointer;
    background-repeat: no-repeat;		
}
div#apycommenu ul a:hover span {
    color: #353535;
}

div#apycommenu li { background: url(../theme/images/nav_separator.png) top left no-repeat; }
div#apycommenu li.last span{
    background: url(../theme/images/nav_separator.png) top right no-repeat;
    padding: 18px 10px 16px 0;
}

/* apycommenu::level2 */
div#apycommenu ul ul li {
    background: url(../theme/images/nav_dropdown_sep.gif) left bottom repeat-x;
    padding: 4px 0;
    z-index: 9;	
}
div#apycommenu ul ul {
    z-index: 12;	
    padding: 0;
    background: rgb(226,226,226) url(../theme/images/nav_dropdown_grad.png) right top no-repeat;
    margin-top:0px;
    margin-left:4px;
    margin-right:5px;
}
div#apycommenu ul ul a {
  	width: 184px;
	  padding: 0px 7px 3px 8px;
    height: auto;
    float: none;
    display: block;
    background:none;
    margin-bottom: 2px;
    z-index: -1;
}
div#apycommenu ul ul a span {
	  padding: 0 10px 0px 10px;
    line-height: 20px;
    color: #454545;
    font-weight:normal;
    text-transform: none;
    background:none;
}
div#apycommenu ul ul a:hover {
    background: url(../theme/images/submenu-selected-bottom.gif) no-repeat 8px bottom;
}
div#apycommenu ul ul a:hover span {
    background: url(../theme/images/submenu-selected-top.gif) no-repeat 0px 0px;
    color: #fff;
}

div#apycommenu ul ul li.last { background: none; }
div#apycommenu ul ul li {
    width: 100%;
}

/* apycommenu::level3 */
div#apycommenu ul ul div {
    width: 208px;
    margin: -50px 0 0 190px !important;
    height: auto;
    _padding: 0 0 9px 3px;
}
div#apycommenu ul ul ul {
	_padding-right:1px;
}

/* lava lamp */
div#apycommenu li.back {
}
div#apycommenu li.back .left {
}

